#include <stdio.h>
#include <time.h>
#include "event_gen.h"

int main()
{
  event *ev;

  if( ( ev = new_event() ) )
    {
    printf("Successfully created an CBE event at: %s\n",asctime(ev->timestamp));
    }
  else
    {
    printf("Could not create the cbe event\n");   
    return -1;
    }
  /* return zero if program ends normally */
  return 0;
}
